package com.smartview.jboss.spring.aop;

import java.lang.reflect.Method;
import org.springframework.aop.MethodBeforeAdvice;
import org.apache.log4j.Logger;

public class LoggingInterceptor implements MethodBeforeAdvice {

	public void before(Method method, Object[] objects, Object o) throws Throwable 
	{
        Logger.getRootLogger().info(
        		"logging before : method > " + 
        		o.getClass().getName() + "." + method.getName());
    }
}
